package main

import "fmt"

func main() {
	// 多为数组 [[1:2] [3:4]]
	var a1 []int
	a1 = []int{1,2,3,4}
	fmt.Println(a1)

	a2 := []int{1,2,3,4}
	fmt.Println(a2)

	//
	var a3 [3][2]int

	a3 = [3][2]int{
		 [2]int{1,2},
		 [2]int{2,3},
		 [2]int{3,4},
	}
	fmt.Println(a3)

	s1 := make([]map[string]int, 10)

	s1[0] = make(map[string]int)
	s1[0]["xyt"] = 18
	fmt.Println(s1)


}
